<template>
  <div class="recruit-experts">
    <table
      class="width100 font30 text-center bg-white"
      border="1"
      cellspacing="0"
      style="word-break: break-all"
    >
      <thead class="bg-dark-red">
        <tr>
          <th class="font30" colspan="2">
            <font class="green"> > </font>
            <font class="teal"> > </font>
            <font class="pink"> > </font>
            <font class="teal">澳门『花仙子』征集高手料１８码</font>
            <font class="pink"> < </font>
            <font class="teal"> < </font>
            <font class="green"> < </font>
          </th>
        </tr>
      </thead>
      <tbody>
        <tr v-for="item of data.recruitExperts" :key="item.id">
          <range-trd :trItem.sync="item" widthClass="width25" hidden-right />
        </tr>
      </tbody>
    </table>
  </div>
</template>

<script setup>
import RangeTrd from "./components/RangeTrd.vue";
import { onMounted, reactive } from "vue";
import { getApiRecruitExpertsData } from "@/api/api";
const data = reactive({
  recruitExperts: [],
});
onMounted(() => {
  getRecruitExpertsData()
})
const getRecruitExpertsData = () => {
  getApiRecruitExpertsData().then(res => {
    data.recruitExperts = res
  })
}
</script>
